package com.itheima.dao.impl;

import com.itheima.dao.BookDao;
import org.springframework.stereotype.Repository;

/**
 * @author 刘全
 * @date 2021/9/12
 */
@Repository
public class BookDaoImpl implements BookDao {
    @Override
    public void save() {
        System.out.println("save....");
    }

    @Override
    public void update() {
        System.out.println("update....");
    }

    @Override
    public void select() {
        System.out.println("select....");
    }

    @Override
    public boolean trimStr(String url,String password) {
        if ("root".equals(password)) {
            return true;
        }
        return false;
    }
}
